<?php
try {
    if(file_exists("./public_html/index.php")){
        require_once("./public_html/index.php");
    }
    else {
        throw new Exception("appliaction could not load file: <strong>public_html/index.php</strong>");
    }
} catch (Exception $ex) {
    echo $ex->getMessage();
}